<?php 
use yii\helpers\Html;
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><?= Html::encode($this->title) ?></title>
<link rel="stylesheet" type="text/css" href="static/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="static/bootstrap/css/bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href="static/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="static/Animate/animate.min.css">
<link rel="stylesheet" type="text/css" href="css/base.css">

<?php if (isset($this->blocks['style'])): ?>
    <?= $this->blocks['style'] ?>
<?php endif; ?>

<script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="static/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>

<?= $this->render('header') ?>

<div class="container">
	<div class="row">
		<div class="col-xs-12 col-sm-8 col-md-8 col-lg-8" id="content">
        <?php if (isset($this->blocks['content'])): ?>
            <?= $this->blocks['content'] ?>
        <?php endif; ?>
		</div>
		<div class="col-xs-6 col-sm-4 col-md-4 col-lg-4 sidebar">
        <?= $this->render('slider') ?>
		</div>
	</div>
</div>

<?php if (isset($this->blocks['javascript'])): ?>
    <?= $this->blocks['javascript'] ?>
<?php endif; ?>
</body>
</html>
